package com.bj58.di.factory;

import javax.inject.Inject;

import com.bj58.di.entity.Book;
import com.bj58.di.service.IBookService;

public class BookFactory3 {

	private IBookService bookService;
	
	@Inject
	public BookFactory3(IBookService bookService) {
		super();
		this.bookService = bookService;
	}

	public Book getBook(){
		return bookService.getBook();
	}

}
